package com.zryc.shop.sms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zryc.shop.sms.entity.CouponHistory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 优惠券使用、领取历史表 服务类
 * </p>
 *
 * @author zhaozhao
 * @since 2024-01-18
 */
public interface ICouponHistoryService extends IService<CouponHistory> {

    /**
     * 查询使用记录
     *
     * @param pageNum
     * @param pageSize
     * @param couponId
     * @param useStatus
     * @param orderSn
     * @return
     */
    Page<CouponHistory> list(Integer pageNum, Integer pageSize, Long couponId, Integer useStatus, String orderSn);
}
